//定义详情模块ts类型
export interface ResponseData{
    code:number,
    message:string,
    ok:boolean
}
//代表医院详情的数据
export interface HospitalDetail{
    "bookingRule":{
        "cycle":number,
        "releaseTime":string,
        "stopTime":string,
        "quitDay":number,
        "quitTime":string,
        "rule":string[]
    },
    "hospital":{
        "id":string,
        "createTime":string,
        "updateTime":string,
        "isDeleted":number,
        "params":{
            "hostypeString":string,
            "fullAddress":string
        },
        "hoscode":string,
        "hosname":string,
        "hostype":string,
        "provinceCode":string,
        "cityCode":string,
        "districtCode":string,
        "address":string,
        "logoData":string,
        "intro":null,
        "route":string,
        "status":number,
        "bookingRule":null,
    }
}
//医院详情返回数据ts
export interface HospitalDetail extends ResponseData{
    data:HospitalDetail
}
//代表医院科室的数据
export interface Deparment{
    "depcode":string,
    "depname":string,
    "children"?:Deparment [],
}
//代表存储科室数组类型
export type DeparmentArr = Deparment[];
//获取科室接口返回的数据类型
export interface DeparmentResponseData extends ResponseData{
    data:DeparmentArr
}